package com.link_with_health.model;

import java.sql.Timestamp;

public class InquiryEntity {
    private long caseId;
    private long drId;
    private long patientId;
    private String symptom;
    private String diagnosis;
    private String examine;
    private String advice;
    private String medicalHistory;
    private String presentComplaint;
    private String historyPC;
    private Timestamp createTime;
    private Timestamp updateTime;
    //补充信息
    private String patientName;
    private String doctorName;


    public InquiryEntity() {
    }

    public InquiryEntity(long drId, long patientId, String symptom, String diagnosis, String examine, String advice, String medicalHistory, String presentComplaint, String historyPC) {
        this.drId = drId;
        this.patientId = patientId;
        this.symptom = symptom;
        this.diagnosis = diagnosis;
        this.examine = examine;
        this.advice = advice;
        this.medicalHistory = medicalHistory;
        this.presentComplaint = presentComplaint;
        this.historyPC = historyPC;
    }

    public long getCaseId() {
        return caseId;
    }

    public void setCaseId(long caseId) {
        this.caseId = caseId;
    }

    public long getDrId() {
        return drId;
    }

    public void setDrId(long drId) {
        this.drId = drId;
    }

    public long getPatientId() {
        return patientId;
    }

    public void setPatientId(long userId) {
        this.patientId = userId;
    }

    public String getSymptom() {
        return symptom;
    }

    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getExamine() {
        return examine;
    }

    public void setExamine(String examine) {
        this.examine = examine;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public String getMedicalHistory() {
        return medicalHistory;
    }

    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }

    public String getPresentComplaint() {
        return presentComplaint;
    }

    public void setPresentComplaint(String presentComplaint) {
        this.presentComplaint = presentComplaint;
    }

    public String getHistoryPC() {
        return historyPC;
    }

    public void setHistoryPC(String historyPC) {
        this.historyPC = historyPC;
    }


    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    @Override
    public String toString() {
        return "InquiryEntity{" +
                "caseId=" + caseId +
                ", drId=" + drId +
                ", patientId=" + patientId +
                ", symptom='" + symptom + '\'' +
                ", diagnosis='" + diagnosis + '\'' +
                ", examine='" + examine + '\'' +
                ", advice='" + advice + '\'' +
                ", medicalHistory='" + medicalHistory + '\'' +
                ", presentComplaint='" + presentComplaint + '\'' +
                ", historyPC='" + historyPC + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
